package com.zapi.lottery.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.util.Date;

/**
 * 抽奖记录表实体
 * 对应表：lottery_record
 * @author: zhonglz
 * @DATE: 2024-06-09
 */
@Data
@TableName("lottery_record")
public class LotteryRecord {
    /** 主键ID */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /** 用户ID */
    private Integer userId;
    /** 奖项ID */
    private Integer prizeId;
    /** 抽中的号码 */
    private String lotteryNumber;
    /** 抽奖时间 */
    private Date lotteryTime;
    /** 状态(0-无效,1-有效) */
    private Integer status;
} 